package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.ManagerialStaffStatisticsDao;
import com.site.wisdom_construction.entity.personnelModule.ManagerialStaffStatistics;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/2/12
 * @Description
 */
@Service
public class ManagerialStaffStatisticsService implements ManagerialStaffStatisticsDao{
    @Autowired
    private ManagerialStaffStatisticsDao managerialStaffStatisticsDao;

    @Override
    public int insertManagerialStaffStatistics(Map map) {
        return managerialStaffStatisticsDao.insertManagerialStaffStatistics(map);
    }

    @Override
    public int deleteManagerialStaffStatistics(Integer projectId) {
        return managerialStaffStatisticsDao.deleteManagerialStaffStatistics(projectId);
    }

    @Override
    public List<ManagerialStaffStatistics> selectManagerialStaffStatistics(Map map) {
        return managerialStaffStatisticsDao.selectManagerialStaffStatistics(map);
    }
}
